package com.ruoyi.faq.mapper;

import java.util.List;
import com.ruoyi.faq.domain.FaqKnowledge;

/**
 * FAQ知识库Mapper接口
 * 
 * @author ruoyi
 * @date 2025-06-13
 */
public interface FaqKnowledgeMapper 
{
    /**
     * 查询FAQ知识库
     * 
     * @param id FAQ知识库主键
     * @return FAQ知识库
     */
    public FaqKnowledge selectFaqKnowledgeById(Long id);

    /**
     * 查询FAQ知识库列表
     * 
     * @param faqKnowledge FAQ知识库
     * @return FAQ知识库集合
     */
    public List<FaqKnowledge> selectFaqKnowledgeList(FaqKnowledge faqKnowledge);

    /**
     * 新增FAQ知识库
     * 
     * @param faqKnowledge FAQ知识库
     * @return 结果
     */
    public int insertFaqKnowledge(FaqKnowledge faqKnowledge);

    /**
     * 修改FAQ知识库
     * 
     * @param faqKnowledge FAQ知识库
     * @return 结果
     */
    public int updateFaqKnowledge(FaqKnowledge faqKnowledge);

    /**
     * 删除FAQ知识库
     * 
     * @param id FAQ知识库主键
     * @return 结果
     */
    public int deleteFaqKnowledgeById(Long id);

    /**
     * 批量删除FAQ知识库
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteFaqKnowledgeByIds(Long[] ids);
}
